* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with
- * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
#include "config.h"
static void
gtk_hbutton_box_init (GtkHButtonBox *hbutton_box)
{
- gtk_orientable_set_orientation (GTK_ORIENTABLE (hbutton_box),
- GTK_ORIENTATION_HORIZONTAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (hbutton_box),
+ GTK_ORIENTATION_HORIZONTAL);
}
-GtkWidget*
+GtkWidget *
gtk_hbutton_box_new (void)
{
- GtkHButtonBox *hbutton_box;
-
- hbutton_box = g_object_new (GTK_TYPE_HBUTTON_BOX, NULL);
-
- return GTK_WIDGET (hbutton_box);
+ return g_object_new (GTK_TYPE_HBUTTON_BOX, NULL);
}
/* set default value for spacing */
-void
+void
gtk_hbutton_box_set_spacing_default (gint spacing)
{
default_spacing = spacing;
/* set default value for layout style */
-void
+void
gtk_hbutton_box_set_layout_default (GtkButtonBoxStyle layout)
{
g_return_if_fail (layout >= GTK_BUTTONBOX_DEFAULT_STYLE &&
/* get default value for spacing */
-gint
+gint
gtk_hbutton_box_get_spacing_default (void)
{
return default_spacing;
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with
- * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
#include "config.h"
gtk_vbutton_box_init (GtkVButtonBox *vbutton_box)
{
gtk_orientable_set_orientation (GTK_ORIENTABLE (vbutton_box),
- GTK_ORIENTATION_VERTICAL);
+ GTK_ORIENTATION_VERTICAL);
}
-GtkWidget*
+GtkWidget *
gtk_vbutton_box_new (void)
{
- GtkVButtonBox *vbutton_box;
-
- vbutton_box = g_object_new (GTK_TYPE_VBUTTON_BOX, NULL);
-
- return GTK_WIDGET (vbutton_box);
+ return g_object_new (GTK_TYPE_VBUTTON_BOX, NULL);
}